package com.mdlib.helper.model.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * 作者：HQY on 16/11/16 11:00
 * 邮箱：hqy_xz@126.com
 */

public class AddressEntity implements Serializable {


    @SerializedName("id")
    private int addressId;

    private String address;

    private String name;

    @SerializedName("phone")
    private String phoneNumber;

    private int type;

    private boolean isHide;


    public boolean isHide() {
        return isHide;
    }

    public void setHide(boolean hide) {
        isHide = hide;
    }

    public int getAddressId() {
        return addressId;
    }

    public void setAddressId(int addressId) {
        this.addressId = addressId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "AddressEntity{" +
                "addressId=" + addressId +
                ", address='" + address + '\'' +
                ", name='" + name + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", type=" + type +
                ", isHide=" + isHide +
                '}';
    }
}
